<!-- 头部左侧logo -->
<template>
    <el-image :src="state.logoImage" fit="fill" alt="" class="pointer">
        <template #error>
            <div class="image-slot">
                <el-icon><icon-picture /></el-icon>
            </div>
        </template>
    </el-image>
</template>

<script setup lang='ts'>
import { ref, reactive, computed } from 'vue'
import { useStore } from '@/store/index'
const store = useStore()
const state = reactive({
    logoImage: computed(() => { return store.common.logoImg }),//logo图片
})
</script>
<style lang='scss' scoped></style>